/*
 * <p>Copyright ®Alyce_WX版权所有。</p>
 * 类名:RoleRightQO
 * 创建人:alyce_wx
 * 创建时间:2017-03-30
 */
package com.wx.demo.wcd.domain.qo;

import java.util.List;
import com.yjhl.framework.dao.query.QO;

/**
 * query class for RoleRight 
 * @author alyce_wx
 * @since 1.8
 * @version 1.0.0  
 */
 
public class RoleRightQO extends QO {
    private static final long serialVersionUID = 1L;
    
    /**
     * 角色权限关联表标识
     */
    private String roleRightId;    
    private List<String> roleRightId_list;
    private String roleRightId_notnull = "N";
    private String roleRightId_notequal;
    private boolean roleRightId_like;
    
    /**
     * 角色表标识
     */
    private String roleId;    
    private List<String> roleId_list;
    private String roleId_notnull = "N";
    private String roleId_notequal;
    private boolean roleId_like;
    
    /**
     * 权限表标识
     */
    private String rightId;    
    private List<String> rightId_list;
    private String rightId_notnull = "N";
    private String rightId_notequal;
    private boolean rightId_like;
    
    public String getRoleRightId() {
        return roleRightId;
    }
    
    public void setRoleRightId(String roleRightId) {
        this.roleRightId = roleRightId;
    }
    public List<String> getRoleRightId_list() {
        return roleRightId_list;
    }
    
    public void setRoleRightId_list(List<String> roleRightId_list) {
        this.roleRightId_list = roleRightId_list;
    }
    public String getRoleRightId_notequal() {
        return roleRightId_notequal;
    }
    
    public void setRoleRightId_notequal(String roleRightId_notequal) {
        this.roleRightId_notequal = roleRightId_notequal;
    }
    public String getRoleRightId_notnull() {
        return roleRightId_notnull;
    }
    
    public void setRoleRightId_notnull(String roleRightId_notnull) {
        this.roleRightId_notnull = roleRightId_notnull;
    }
    
    public boolean isRoleRightId_like() {
        return roleRightId_like;
    }
    
    public void setRoleRightId_like(boolean roleRightId_like) {
        this.roleRightId_like = roleRightId_like;
    }
    
    public String getRoleId() {
        return roleId;
    }
    
    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
    public List<String> getRoleId_list() {
        return roleId_list;
    }
    
    public void setRoleId_list(List<String> roleId_list) {
        this.roleId_list = roleId_list;
    }
    public String getRoleId_notequal() {
        return roleId_notequal;
    }
    
    public void setRoleId_notequal(String roleId_notequal) {
        this.roleId_notequal = roleId_notequal;
    }
    public String getRoleId_notnull() {
        return roleId_notnull;
    }
    
    public void setRoleId_notnull(String roleId_notnull) {
        this.roleId_notnull = roleId_notnull;
    }
    
    public boolean isRoleId_like() {
        return roleId_like;
    }
    
    public void setRoleId_like(boolean roleId_like) {
        this.roleId_like = roleId_like;
    }
    
    public String getRightId() {
        return rightId;
    }
    
    public void setRightId(String rightId) {
        this.rightId = rightId;
    }
    public List<String> getRightId_list() {
        return rightId_list;
    }
    
    public void setRightId_list(List<String> rightId_list) {
        this.rightId_list = rightId_list;
    }
    public String getRightId_notequal() {
        return rightId_notequal;
    }
    
    public void setRightId_notequal(String rightId_notequal) {
        this.rightId_notequal = rightId_notequal;
    }
    public String getRightId_notnull() {
        return rightId_notnull;
    }
    
    public void setRightId_notnull(String rightId_notnull) {
        this.rightId_notnull = rightId_notnull;
    }
    
    public boolean isRightId_like() {
        return rightId_like;
    }
    
    public void setRightId_like(boolean rightId_like) {
        this.rightId_like = rightId_like;
    }
    

    @Override
	public String toString(){
		
		String toString = "{";
		  	 if(this.roleRightId != null){
		   	 	toString += (this.roleRightId+",");
		   	 }
		  	 if(this.roleId != null){
		   	 	toString += (this.roleId+",");
		   	 }
		  	 if(this.rightId != null){
		   	 	toString += (this.rightId+",");
		   	 }
		  if(toString.lastIndexOf(",") == ( toString.length()-1)){
		  	toString = toString.substring(0, toString.length()-1);
		  }
		 toString += "}";
		return toString;
		
	}
	
	public String inputDescription(){
		
		String inputDescription = "{";
		   if(this.roleRightId != null){
		   		inputDescription += (this.roleRightId+" : 角色权限关联表标识,");
		   }
		   if(this.roleId != null){
		   		inputDescription += (this.roleId+" : 角色表标识,");
		   }
		   if(this.rightId != null){
		   		inputDescription += (this.rightId+" : 权限表标识,");
		   }
		  if(inputDescription.lastIndexOf(",") == ( inputDescription.length()-1)){
		  	inputDescription = inputDescription.substring(0, inputDescription.length()-1);
		  }
		  inputDescription += "}";
		
		return inputDescription;
		
	}
}
